﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace CodeAngel.UI
{
    public class ViewModel : INotifyPropertyChanged
    {
        #region PropertyChanged
        
        public event PropertyChangedEventHandler PropertyChanged;
        protected void RaisePropertyChanged(string propertyName)
        {
            if (this.PropertyChanged != null) this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }

        #endregion

        //#region WeakEventHandlerManager

        //public WeakEventHandlerManager WeakEventHandlerManager
        //{
        //    get { } 
        //}
        //private WeakEventManager _weakEventHandlerManager = new WeakEventManager();
        //#endregion
    }
}
